﻿using System;

namespace ButsaScraperLib
{
	public class ProgressEventArgs: EventArgs
	{
		public double CurrentProgress { get; private set; }

		public string InfoMessage { get; private set; }

		public bool Completed { get; private set; }

		public ProgressEventArgs(double currentProgress)
		{
			CurrentProgress = currentProgress;
		}

		public ProgressEventArgs(double currentProgress, bool completed)
		{
			CurrentProgress = currentProgress;
			Completed = completed;
		}

		public ProgressEventArgs(double currentProgress, string infoMessage)
		{
			CurrentProgress = currentProgress;
			InfoMessage = infoMessage;
		}

		public ProgressEventArgs(double currentProgress, string infoMessage, bool completed)
		{
			CurrentProgress = currentProgress;
			InfoMessage = infoMessage;
			Completed = completed;
		}
	}
}
